#include "BSaveSound.h"
#include "SaveSoundState.h"
#include "Game.h"

BSaveSound::BSaveSound()
{
	m_name = " Save Sound";
}

BSaveSound::~BSaveSound()
{

}

void BSaveSound::Update()
{
	m_pos.y = -0.9f;
	m_pos.x = 0.6f;

	if (m_mouseDidIntersect && m_mouseButtonWasReleased)
	{
		m_mouseButtonWasReleased = false;
		m_mouseDidIntersect = false;

		TheGame::Instance()->SetGameState(TheSaveSoundState::Instance());		
	}
}